/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.campaign.service.remote.RemoteCampaignServiceImpl
   Module Description   :

   Date Created      : 2010/12/7
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.campaign.service.remote;

import org.springframework.beans.factory.annotation.Autowired;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.ec.campaign.service.CampaignService;

/**
 * @author feeling.wang
 * 
 */
public class RemoteCampaignServiceImpl implements RemoteCampaignService {
	@Autowired
	private CampaignService campaignService;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yaodian100.ec.campaign.service.remote.RemoteCampaignService#sendCampaignStockEmail()
	 */
	@Override
	public boolean sendCampaignStockEmail(String domainName) throws CoreException {
		return campaignService.sendCampaignStockEmail(domainName);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.yaodian100.ec.campaign.service.remote.RemoteCampaignService#chkScmPresentAndSendCampaignEmail(java.lang.String)
	 */
	@Override
	public boolean chkScmPresentAndSendCampaignEmail(String domainName) throws CoreException {
		return campaignService.chkScmPresentAndSendCampaignEmail(domainName);
	}
}
